/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Objekte;

import javax.swing.Icon;
import logging.Logger;

/**
 * Produkt für das Produktlistmodel für das inventar des Users
 * @author benji
 */
public class Produkt {
    private int ID = 0;
    private String name = "";
    private int price = 0;
    private String description = "";
    private int amount = 0;
    private int requiredRank;
    private Icon icon = null;
    private String imagePath;

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public Produkt(int ID, String name, int price, String desc, int amount, int req){
        this.ID = ID;
        this.name = name;
        this.price = price;
        this.description = desc;
        this.amount = amount;
        this.requiredRank = req;
    }

    public Produkt(){
        
    }

    public Icon getIcon() {
        return icon;
    }

    public void setIcon(Icon icon) {
        this.icon = icon;
    }

    public int getRequiredRank() {
        Logger.debug("Produkt - getRequiredRank");
        return requiredRank;
    }

    public void setRequiredRank(int requiredRank) {
        Logger.debug("Produkt - setRequiredRank");
        this.requiredRank = requiredRank;
    }

    public int getAmount() {
        Logger.debug("Produkt - getAmount");
        return amount;
    }

    public void setAmount(int amount) {
        Logger.debug("Produkt - setamount");
        this.amount = amount;
    }

    public int getID() {
        Logger.debug("Produkt - getId");
        return ID;
    }

    public void setID(int ID) {
        Logger.debug("Produkt - setId");
        this.ID = ID;
    }

    public String getDescription() {
        Logger.debug("Produkt - getDescription");
        return description;
    }

    public void setDescription(String description) {
        Logger.debug("Produkt - setDescription");
        this.description = description;
    }

    public String getName() {
        Logger.debug("Produkt - getName");
        return name;
    }

    public void setName(String name) {
        Logger.debug("Produkt - setName");
        this.name = name;
    }

    public int getPrice() {
        Logger.debug("Produkt - getPrice");
        return price;
    }

    public void setPrice(int price) {
        Logger.debug("Produkt - setPrice");
        this.price = price;
    }

}
